package com.timber.util;

import java.io.Serializable;
import java.sql.ResultSet;
import java.sql.SQLException;

public class TimberName  extends SLDataObjectAdaptor implements Serializable {
	private String name;
	private String descr;
	public String getDescr() {
		return descr;
	}
	public void setDescr(String descr) {
		this.descr = descr;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public boolean load(ResultSet rs) throws SQLException
	{
		name = rs.getString( "Name" );
		descr = rs.getString( "Descr" );
		System.out.println("name:"+name+"descr :"+descr);
		
		return true;
	}
	


	public Object hashKey()
	{
		return name;
	}
	
	public String toString()
	{
		return name ;
	}
	
  public boolean isPlaceHolderObject(){return true;}
	
	
	
}
